package cc.fine.svc.main.mapper;

import cc.fine.svc.main.bean.po.TblCommon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wyihe
 * @since 2023-10-25
 */
public interface TblCommonMapper extends BaseMapper<TblCommon> {

    List<TblCommon> getRootCommonByVideoId(@Param("videoId") String videoId,
                                           @Param("limit1") Integer limit1,
                                           @Param("limit2") Integer limit2);

    List<TblCommon> getChildCommonByFaIds(@Param("pids") List<String> fIds);
}
